*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
 html{
    scroll-behavior: smooth;
 }
header{
    background-color: rgb(8, 45, 124);
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    color: white;
}

nav ul{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
nav ul li{
    list-style-type: none;
    padding: 0.5rem;
    border-radius: 20px;
}
nav ul li a{
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
}
.humberg-menu i{
    color: rgb(9, 50, 235);
    font-size: 2rem;
    cursor: pointer;
    display: none;
}
.menu-content{
    display: none;
    position: absolute;
    top: 4.5rem;
    background-color: rgb(21, 6, 105);
    width:100%;
    height: 0;
    overflow: hidden;
    transition: height 1s cubic-bezier(0.175,0.88,0.32,1.275) ;
}
.menu-content.open{
    height: 100vh;
}
.menu-content li{
 border: 1px solid rgb(197, 197, 197);
 padding: 0.6rem 1rem;
 display: flex;
 justify-content: center;
 align-items: center;
 margin-bottom: 0.8rem;
 border-radius: 10px;
}
.menu-content li:hover{
    background-color: blueviolet;
}
.menu-content li a{
    font-size: 1.3rem;
    color: white;
}

@media (max-width:600px) {
    .humberg-menu i{
        display: block;
        color: white;
    }
    nav ul{
        display: none;
    }
    .menu-content{
        display: block;
    }
    
}
.input-section{
    background-color: rgb(4, 74, 114);
    padding: 2rem 0;
    
}
.input-section label{
    font-size: 1.7rem;
    display: block;
    text-align: center;
    color: rgb(122, 151, 245);
}
.input-section .input-location{
    cursor: pointer;
}
 .input-section  input:focus{
    outline: none;
 }
.input-section button{
    font-size: 1.5rem;
    display: block;
    border: none;
    background-color: rgb(5, 143, 109);
    border-radius: 10px;
    padding: 0.4rem 1.2rem;
    margin: auto;
    color: white;
}
.input-section button:hover{
    background-color: rgb(49, 99, 110);
}

.input-section .separator{
    height: 1px;
    width: 20vw;
    background-color: rgb(177, 175, 175);
     margin: 0.8rem auto;
     display: flex;
     justify-content: center;
     align-items: center;
}
.input-section .separator::before{
    content: "or";
    color: rgb(134, 134, 134);
    padding: 0 0.3rem;
    font-size: 1.4rem;
    background-color: rgb(4, 74, 114);
}
 .search-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(187, 187, 245);
    border-radius: 10px;
     max-width: 40%;
     margin: auto;
     padding: 0 0.2rem;
     background-color: white;
 }
 .search-bar i{
    font-size: 1.6rem;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    background-color: rgb(209, 171, 240);
    border-radius: 50%;
 }
 .search-bar i:hover{
    background-color: rgb(99, 99, 245);
 }
 .search-bar input{
    width: 100%;
    border: none;
    border-radius: 20px;
    font-size: 1.2rem;
 }
 @media (max-width:600px) {
    .search-bar{
        max-width: 80%;
    }
    .input-section button{
        font-size: 1.1rem;
    }
 }
.current-weather-section{
   background-color: rgb(38, 112, 175);
   padding: 2rem 0;
}
.current-weather-card{
 background: url(assets/defult\ background\ of\ current\ card.jpeg);
 background-size: cover;
 background-repeat: no-repeat;
 border: 1px soid rgb(223, 14, 14);
 max-width: 500px;
 margin: auto;
 padding: 2rem;
 border-radius: 10px;
 box-shadow: 10px 10px 13px rgb(40, 3, 65);
}
.cityinfo{
 display: flex;
 justify-content: space-between;
 color: white;
}
.cityinfo .city-name{
    font-size: 3rem;
}
.cityinfo .city-time{
    font-size: 1.5rem;
}
.city-temp{
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 2rem 0;
   color: white;
}
.city-temp .temp-value{
    font-size: 3rem;
}
.current-weather-img{
    width: 100px;
}
.desc p{
    color: rgb(30, 255, 0);
    font-size: 1.7rem;
    margin-top: -3rem;
    text-align: center;
}
.other-details p{
  color: rgb(255, 215, 215);
  font-size: 1.3rem;
  border-top: 1px solid rgb(141, 140, 140);
}
.other-details h1{
    padding-bottom: 0.5rem;
    color: white;
}
.firstline-details{
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}
.lastline-details{
    display: flex;
    justify-content: space-between;
}
.humidity{
    border: 1px solid rgb(146, 144, 144);
    padding: 0.5rem;
    border-radius: 18px;
}
.windspeed{
    border: 1px solid rgb(146, 144, 144);
    padding: 0.5rem;
    border-radius: 18px;
}
.feellikes{
    border: 1px solid rgb(146, 144, 144);
    padding: 0.5rem;
    border-radius: 18px;
}
.pressure{
    border: 1px solid rgb(146, 144, 144);
    padding: 0.5rem;
    border-radius: 18px;
}
.hourly-heading{
    color: rgb(204, 208, 212);
    text-align: center;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid white;
}
.hourly-des{
    color: rgb(63, 238, 215);
   margin: -1.2rem 0 0 0;
   font-size: 1.4rem;
   text-shadow: 1px 11px 2px  rgb(0, 0, 0);
   animation: moveText 4s linear infinite;
}
@keyframes moveText {
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateY(77%);
        color: rgb(223, 220, 220);
        text-shadow: 1px -9px 2px rgb(0, 0, 0);
    }
}
.container{
    max-width: 80vw;
    padding: 5rem 0;
    margin: auto;
  }
 
 .hourly-card{
      width: 300px;
    background: rgb(2, 0, 36);
        background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(255, 142, 142, 1) 0%, rgba(0, 212, 255, 1) 100%);
        margin-top: 2rem;
 }
  .swiper-slide {
      max-width: 30vw;
      width: fit-content;
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid rgb(163, 163, 163);
      border-radius: 20px;
      color: white;
  }
 .hourly-card .current-time{
    padding: 0.4rem 0;
    border-bottom: 1px solid rgb(80, 80, 80);
 }
.hourly-card .hourly-desc{
    color: rgb(231, 235, 28);
    font-size: 1.2rem;
    padding: 0.4rem 0;
}
.hourly-humidity{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.hourly-windspeed{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
}
.hourly-humidity p{
  color:cyan;
}
.hourly-windspeed p{
    color: cyan;
}
.swiper-slide #defaultImg{
    padding:0.5rem;
}
.hourly-img{
    width: 100px;
}
@media (max-width:600px) {
    .container{
        max-width: 100vw;
    }
    .swiper-slide{
        max-width: 80vw;
    }
    .hourly-des{
        animation: none;
        text-align: center;
        font-size: 1rem;
    }
  }
#defaultImg{
 width: 50px;
}
.weakly-card-date{
    color: white;
}
.weakly-weather-section{
background-image: linear-gradient(109.6deg, rgba(156, 252, 248, 1) 11.2%, rgba(110, 123, 251, 1) 91.1%);
    padding: 2rem 0;
}
.weakly-weather-section h1{
    color: red;
    text-align: center;
    padding: 1rem 0 ;
    text-decoration: underline 0.2rem rgb(223, 20, 230);
    
}
#weakly-weather-container{
  gap: 2rem;
  padding: 1.5rem 0;
}
.weakly-weather-card{
    animation: animateWeaklyCard 3s infinite linear;
    border-radius: 20px;
    width: 250px;
    padding: 1rem 0.5rem;
    box-shadow: 5px 9px 10px  rgb(35, 2, 61);
    background-image: linear-gradient(90deg, rgb(38, 112, 175), #acf5f1, rgb(38, 112, 175), #acf5f1);
    background-size: 300% 100%;
    transition: 1s;
}
@keyframes animateWeaklyCard {
    0%{
        background-position: 0 0;
    }
    100%{
        background-position: 100% 0;
    }
}
.weakly-weather-card:hover{
    box-shadow: none;
    transition: all 1s ease-in-out;
}
.weakly-card-time{
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 1rem;
   color: rgb(145, 20, 218);
   border-bottom: 1px solid rgb(175, 173, 173);
}
.weakly-card-temp{
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.weakly-temp{
    font-size: 2rem;
    color: red;
    margin-left: -1rem;
}
.weakly-card-desc{
    color: rgb(229, 233, 30);
    text-align: center;
    font-size: 1.3rem;
    padding-bottom: 1rem;
}
.weakly-card-others{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.3rem;
}
.weakly-card-others p{
    color: rgb(252, 250, 250);
    border-top: 1px solid rgb(164, 164, 223);
    padding-bottom: 0.5rem;
    font-size: 1.3rem;
}
.weakly-card-img{
    width: 100px;
}
.weakly-card-others h2{
    color: rgb(44, 44, 230);
    font-size: 1.8rem;
    font-style: italic;
}
 footer{
   background-color: rgb(5, 5, 92);
   padding: 2rem 0;
 }
 .footer-container{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    color: white;
    padding: 2rem 0;
 }
 .footer-container a{
    text-decoration: none;
    color: rgb(235, 156, 156);
    font-size: 1.2rem;
 }
 .footer-container a:hover{
    color: red;
 }
 .footer-container ul li{
    padding: 0.5rem 0;
 }
 .company h2{
    border-bottom: 1px solid red;
    margin: 1rem 0;
 }
 .reference h2{
    border-bottom: 1px solid red;
    margin: 1rem 0;
 }
 .support h2{
    border-bottom: 1px solid red;
    margin: 1rem 0;
 }
 .mobile{
    display: flex;
    gap: 0.3rem;
 }
 .mail{
    display: flex;
    gap: 0.3rem;
 }
 .support i{
    font-size: 1.5rem;
 }
 .mail p{
    font-size: 1.2rem;
 }
 .getApp h2{
    border-bottom: 1px solid red;
    margin: 1rem 0;
 }
 .cpy{
    color: red;
    text-align: center;
    padding: 0.2rem 0;
 }
 .update-msg{
    background: -webkit-linear-gradient(180deg,#e60404, #25c440,blue);
        -webkit-text-fill-color: transparent;
    text-align: center;
    color: rgb(66, 167, 235);
    animation: colorChange 2s ease-in-out infinite;
 }
 @keyframes colorChange {
    0%{
    background: -webkit-linear-gradient(180deg, #f8f3f3, #25c440, rgb(240, 23, 229));
    -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    50%{
background: -webkit-linear-gradient(180deg, #e60404, #1ef3cf, rgb(205, 17, 230));
-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
    100%{
background: -webkit-linear-gradient(180deg, #c4e604, #25c440, blue);
-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
 }